package com.szjz.excel.importexport.exception;


import com.szjz.excel.importexport.util.StringFormatUtil;

/**
 * 业务类型异常<br>
 * 该类型异常为用户行为导致运算出错，或违反业务操作逻辑造成的异常
 */
public class ImportExportException extends RuntimeException {

    private static final long serialVersionUID = 720264575217922710L;

    // private Result result;
    public ImportExportException() {
        super();
    }

    public ImportExportException(String message, Throwable cause) {
        super(message, cause);
    }

    public ImportExportException(String message, Throwable cause, Object... args) {
        super(StringFormatUtil.format(message, args), cause);
    }

    public ImportExportException(String message, Object... args) {
        super(StringFormatUtil.format(message, args));
    }

    public ImportExportException(Throwable cause) {
        super(cause);
    }

}
